@charset "UTF-8";

sqlzen:before{
	font-size:small;
	font-style:italic;
	font-family:monospace;
	content:"Sqlzen Version " attr( sqlzenVersion );
	margin:0.1em;
	padding:0.1em;
}
sqlzen {
	margin:2em;
}
*:before {
	color:black;
	background-color:inherit;
	font-family:Gulimche;
	font-style:normal;
	font-size:small;
}
affixes:before, forbiddenWords:before, dictionary:before, library:before, definition:before {
	display:block;
	font-style:italic;
	font-size:large;
	content:capitalize( name() );
	margin: 0.3em;
	margin-top:1em;
	margin-bottom:0;
	padding:0.1em;
	color:black;
	background-color: #AABBCC;
}
affixes, forbiddenWords, dictionary, library, definition {
	font-size:large;
	border:0.1em solid #DDDDDD;	
	color:black;
	background-color: #DDDDDD;
}
affixes > *[ prefix ]
{
	display:block; 
	content: capitalize( name() ) " prefix : ";
	font-size:10pt;
	font-family:monospace;
}
affixes > *[ suffix ] {
	display:block;
	content: capitalize( name() )  " suffix : ";
	font-size:10pt;
	font-family:monospace;
}
affixes > *[prefix]:after {
	font-style:italic;
	content: "'" attr( prefix ) "'";
}
affixes > *[suffix]:after {
	font-style:italic;
	content: "'" attr( suffix ) "'";
}

word {
	display:block;
	font-size:small;
	content: "'" attr( spelling ) "'" ;
}
desc:before, comment:before {
	content:": ";
}

desc, comment {
	display:run-in;
	font-size:medium;
	font-style:italic;
	margin-left:6em;
}

entityPrefix:first-child:before, entitySuffix:first-child:before,
entityPrefix + entitySuffix:before
{
	content:capitalize( name() );
	font-size:small;
	font-style:italic;
	margin-top:0.3em;
	margin-bottom:0.3em;
	padding:0.2em;
	color:black;
	margin-left:0.5em;
	margin-right:1em;
	background-color: #99BB99;
	display:block;
}

attributePrefix:first-child:before, attributeSuffix:first-child:before,
entityPrefix + attributePrefix:before,
entityPrefix + attributeSuffix:before,
entitySuffix + attributePrefix:before,
entitySuffix + attributeSuffix:before,
attributePrefix + attributeSuffix:before
{
	content:capitalize( name() );
	font-size:small;
	font-style:italic;
	margin-top:0.3em;
	margin-bottom:0.3em;
	padding:0.2em;
	color:black;
	margin-left:0.5em;
	margin-right:1em;
	background-color: #BBBB99;
	display:block;
}

definition > table:before{
	display:block;
	content:"Table : ";
}
definition > table {
	margin-left:1em;
}

tableName, columnName, tableNameRef, columnNameRef {
	content:"'" replace( attr( id ), "^cn*|^tn", "", true ) "'" ;
}

wordRef, entityPrefixRef, entitySuffixRef, attributePrefixRef, attributeSuffixRef {
	display:none;
}

entityPrefix, entitySuffix, attributePrefix, attributeSuffix {
	font-size:small;
	display:block;
	content: "'" attr( spelling ) "'";
}

* {
	font-family:Gulimche;
	font-size:small;
	display:block;
}
